<!DOCTYPE html>
<html lang="en">
<!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
    <meta charset="utf-8"/>
    <title><?php if (isset($pageTitle) && !empty($pageTitle)) echo $siteName . '-' . $pageTitle; ?></title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1" name="viewport"/>
    <meta content="" name="description"/>
    <meta content="" name="author"/>
    <!-- BEGIN GLOBAL MANDATORY STYLES -->
    <!-- <link href="http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700&subset=all" rel="stylesheet" type="text/css" /> -->
    <link href="/public/global/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
    <link href="/public/global/plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" type="text/css"/>
    <link href="/public/global/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
    <link href="/public/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css" rel="stylesheet" type="text/css"/>
    <!-- END GLOBAL MANDATORY STYLES -->
    <!-- BEGIN PAGE LEVEL PLUGINS -->
    <link href="/public/global/plugins/bootstrap-daterangepicker/css/daterangepicker.min.css" rel="stylesheet"
          type="text/css"/>
    <?php echo $cssPlaceHolder; ?>
    <!-- END PAGE LEVEL PLUGINS -->
    <!-- BEGIN THEME GLOBAL STYLES -->
    <link href="/public/global/css/components.min.css" rel="stylesheet" id="style_components" type="text/css"/>
    <link href="/public/global/css/plugins.min.css" rel="stylesheet" type="text/css"/>
    <link href="/public/global/plugins/bootstrap-select/css/bootstrap-select.min.css" rel="stylesheet" type="text/css"/>
    <link href="/public/global/css/style.css" rel="stylesheet" type="text/css"/>
    <!-- END THEME GLOBAL STYLES -->
    <!-- BEGIN THEME LAYOUT STYLES -->
    <link href="/public/layouts/layout2/css/layout.min.css" rel="stylesheet" type="text/css"/>
    <link href="/public/layouts/layout2/css/themes/blue.min.css" rel="stylesheet" type="text/css" id="style_color"/>
    <link href="/public/layouts/layout2/css/custom.min.css" rel="stylesheet" type="text/css"/>
    <!-- END THEME LAYOUT STYLES -->
    <link rel="shortcut icon" href="<?php if (isset($favicon)) echo $favicon; ?>"/>
    <script src="/public/global/plugins/jquery.min.js" type="text/javascript"></script>
    <script src="http://echarts.baidu.com/gallery/vendors/echarts/echarts-all-3.js"></script>
</head>
<!-- END HEAD -->
<body class="page-header-fixed page-sidebar-closed-hide-logo page-container-bg-solid">
<!-- BEGIN HEADER -->
<div class="page-header navbar navbar-fixed-top">
    <!-- BEGIN HEADER INNER -->
    <div class="page-header-inner ">
        <!-- BEGIN LOGO -->
        <div class="page-logo">
            <a href="/">
                <img src="<?php if (isset($logoPath)) echo $logoPath; ?>" alt="logo" class="logo-default"/> </a>
            <div class="menu-toggler sidebar-toggler">
                <!-- DOC: Remove the above "hide" to enable the sidebar toggler button on header -->
            </div>
        </div>
        <!-- END LOGO -->
        <!-- BEGIN RESPONSIVE MENU TOGGLER -->
        <a href="javascript:void(0);" class="menu-toggler responsive-toggler" data-toggle="collapse"
           data-target=".navbar-collapse"> </a>
        <!-- END RESPONSIVE MENU TOGGLER -->
        <!-- BEGIN PAGE TOP -->
        <div class="page-top">
            <!-- BEGIN HEADER SEARCH BOX -->
            <!-- DOC: Apply "search-form-expanded" right after the "search-form" class to have half expanded search box -->
            <!-- END HEADER SEARCH BOX -->
            <!-- BEGIN TOP NAVIGATION MENU -->
            <div class="top-menu">
                <ul class="nav navbar-nav pull-right">
                    <!-- END TODO DROPDOWN -->
                    <!-- BEGIN USER LOGIN DROPDOWN -->
                    <!-- DOC: Apply "dropdown-dark" class after below "dropdown-extended" to change the dropdown styte -->
                    <li class="dropdown dropdown-user">
                        <a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown"
                           data-hover="dropdown" data-close-others="true">
                             <img alt="" class="img-circle" src="<?php echo $userObj->pic; ?>" />
                            <span class="username username-hide-on-mobile"> <?php if (isset($userObj->name)) echo $userObj->name; ?></span>
                            <i class="fa fa-angle-down"></i>
                        </a>
                        <ul class="dropdown-menu dropdown-menu-default">
                            <!--  <li>
                                <a href="page_user_profile_1.html">
                                    <i class="icon-user"></i> My Profile </a>
                            </li>
                            <li>
                                <a href="app_calendar.html">
                                    <i class="icon-calendar"></i> My Calendar </a>
                            </li>
                            <li>
                                <a href="app_inbox.html">
                                    <i class="icon-envelope-open"></i> My Inbox
                                    <span class="badge badge-danger"> 3 </span>
                                </a>
                            </li>
                            <li>
                                <a href="app_todo_2.html">
                                    <i class="icon-rocket"></i> My Tasks
                                    <span class="badge badge-success"> 7 </span>
                                </a>
                            </li> -->
                            <li class="divider"></li>
                            <!-- <li>
                                <a href="page_user_lock_1.html">
                                    <i class="icon-lock"></i> Lock Screen </a>
                            </li> -->
                            <li>
                                <a href="/logout">
                                    <i class="icon-logout"></i> 退出 </a>
                            </li>
                        </ul>
                    </li>
                    <!-- END USER LOGIN DROPDOWN -->
                    <!-- BEGIN QUICK SIDEBAR TOGGLER -->
                    <!-- DOC: Apply "dropdown-dark" class after below "dropdown-extended" to change the dropdown styte -->
                    <!-- END QUICK SIDEBAR TOGGLER -->
                </ul>
            </div>
            <!-- END TOP NAVIGATION MENU -->
        </div>
        <!-- END PAGE TOP -->
    </div>
    <!-- END HEADER INNER -->
</div>
<!-- END HEADER -->
<!-- BEGIN HEADER & CONTENT DIVIDER -->
<div class="clearfix"></div>
<!-- END HEADER & CONTENT DIVIDER -->
<!-- BEGIN CONTAINER -->
<div class="page-container">
    <!-- BEGIN SIDEBAR -->
    <div class="page-sidebar-wrapper">
        <!-- END SIDEBAR -->
        <!-- DOC: Set data-auto-scroll="false" to disable the sidebar from auto scrolling/focusing -->
        <!-- DOC: Change data-auto-speed="200" to adjust the sub menu slide up/down speed -->
        <div class="page-sidebar navbar-collapse collapse">
            <ul class="page-sidebar-menu  page-header-fixed page-sidebar-menu-hover-submenu " data-keep-expanded="false"
                data-auto-scroll="true" data-slide-speed="200">
                <li <?php echo in_array($actTab, ["news_lists"]) ? 'class="nav-item active open "' : 'class="nav-item "'; ?>>
                    <a href="javascript:void(0);" class="nav-link nav-toggle">
                        <i class="icon-volume-2"></i>
                        <span class="title">消息管理</span>
                        <?php if (in_array($actTab, ["news_lists"])) { ?>
                            <span class="selected"></span>
                            <span class="arrow open"></span>
                        <?php } ?>
                    </a>
                    <ul class="sub-menu">
                        <li <?php echo in_array($actTab, ["news_lists", "massage_list"]) ? 'class="nav-item active open "' : 'class="nav-item "'; ?>>
                            <a href="<?php echo site_url("admin/massage_list"); ?>" class="nav-link ">
                                <i class="icon-list"></i>
                                <span class="title">消息列表</span>
                                <?php if (in_array($actTab, ["massage_list"])) { ?>
                                    <span class="selected"></span>
                                <?php } ?>
                            </a>
                        </li>
                        <li <?php echo in_array($actTab, ["news_lists", "art_sum"]) ? 'class="nav-item active open "' : 'class="nav-item "'; ?>>
                            <a href="<?php echo site_url("admin/art_sum"); ?>" class="nav-link ">
                                <i class="icon-list"></i>
                                <span class="title">统计报表</span>
                                <?php if (in_array($actTab, ["art_sum"])) { ?>
                                    <span class="selected"></span>
                                <?php } ?>
                            </a>
                        </li>
                    </ul>
                </li>
                <li <?php echo in_array($actTab,["usermanage","groupmanage"]) ? 'class="nav-item active open "' : 'class="nav-item "'; ?>>
                    <a href="javascript:void(0);" class="nav-link nav-toggle">
                        <i class="icon-users"></i>
                        <span class="title">用户管理</span>
                        <?php if (in_array($actTab,["usermanage","groupmanage"])) { ?>
                            <span class="selected"></span>
                            <span class="arrow open"></span>
                        <?php } ?>
                    </a>
                    <ul class="sub-menu">
                        <li <?php echo in_array($actTab,["usermanage"]) ? 'class="nav-item active open "' : 'class="nav-item "'; ?>>
                            <a href="<?php echo site_url("UserManage/index"); ?>" class="nav-link ">
                                <i class="icon-user"></i>
                                <span class="title">用户管理</span>
                                <?php if (in_array($actTab,["usermanage"])) { ?>
                                    <span class="selected"></span>
                                <?php } ?>
                            </a>
                        </li>
                    </ul>
                </li>
            </ul>
            <!-- END SIDEBAR MENU -->
        </div>
        <!-- END SIDEBAR -->
    </div>
    <!-- END SIDEBAR -->
    <!-- BEGIN CONTENT -->
    <div class="page-content-wrapper">
        <!-- BEGIN CONTENT BODY -->
        <div class="page-content">
            <!-- END THEME PANEL -->
            <div class="page-bar">
                <ul class="page-breadcrumb">
                    <li>
                        <i class="icon-home"></i>
                        <a href="/">首页</a>
                    </li>
                    <?php if (isset($bcList)) echo $bcList; ?>
                </ul>
            </div>
            <!-- END PAGE HEADER-->
            <?php echo $mainPlaceHolder; ?>
            <!-- END CONTENT BODY -->
        </div>
        <!-- END CONTENT -->
        <!-- BEGIN QUICK SIDEBAR -->
        <!-- END QUICK SIDEBAR -->
    </div>
    <div class="modal fade" id="beforeSend" role="basic" aria-hidden="true" data-backdrop="static">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-body">
                    <img src="/public/global/img/loading-spinner-grey.gif" alt="" class="loading">
                    <span> &nbsp;&nbsp;Loading... </span>
                </div>
            </div>
        </div>
    </div>
    <!-- END CONTAINER -->
    <!-- BEGIN FOOTER -->
    <div class="page-footer">
        <div class="page-footer-inner"> <?php echo $copyright; ?> By <a
                    href="<?php echo $url; ?>"> <?php echo $siteName; ?></a>
            <div class="scroll-to-top">
                <i class="icon-arrow-up"></i>
            </div>
        </div>
        <!-- END FOOTER -->
        <!-- BEGIN QUICK NAV -->
        <!-- END QUICK NAV -->
        <!--[if lt IE 9]>
        <script src="/public/global/plugins/respond.min.js"></script>
        <script src="/public/global/plugins/excanvas.min.js"></script>
        <script src="/public/global/plugins/ie8.fix.min.js"></script>
        <![endif]-->
        <!-- BEGIN CORE PLUGINS -->
        <script src="/public/global/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
        <script src="/public/global/plugins/js.cookie.min.js" type="text/javascript"></script>
        <script src="/public/global/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
        <script src="/public/global/plugins/jquery.blockui.min.js" type="text/javascript"></script>
        <script src="/public/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js"
                type="text/javascript"></script>
        <!-- END CORE PLUGINS -->
        <!-- BEGIN THEME GLOBAL SCRIPTS -->
        <script src="/public/global/scripts/app.min.js" type="text/javascript"></script>
        <!-- END THEME GLOBAL SCRIPTS -->
        <!-- BEGIN PAGE LEVEL PLUGINS -->
        <script src="/public/global/scripts/bootbox.min.js" type="text/javascript"></script>
        <script src="/public/global/scripts/jquery.noty.js" type="text/javascript"></script>
        <script src="/public/global/plugins/bootstrap-select/js/bootstrap-select.min.js"
                type="text/javascript"></script>
        <script src="/public/global/plugins/bootstrap-select/js/defaults-zh_CN.min.js" type="text/javascript"></script>
        <script src="/public/global/plugins/bootstrap-daterangepicker/js/moment.min.js" type="text/javascript"></script>
        <script src="/public/global/plugins/bootstrap-daterangepicker/js/daterangepicker.min.js"
                type="text/javascript"></script>
        <script src="/public/global/js/custom.js" type="text/javascript"></script>
        <?php echo $jsPlaceHolder; ?>
        <script src="/public/layouts/layout2/scripts/layout.min.js" type="text/javascript"></script>
        <script src="/public/layouts/layout2/scripts/demo.min.js" type="text/javascript"></script>
        <script src="/public/layouts/global/scripts/quick-sidebar.min.js" type="text/javascript"></script>
        <script src="/public/layouts/global/scripts/quick-nav.min.js" type="text/javascript"></script>

</body>

</html>
